package com.vavr.checkincms.configuration;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * CheckinProperties
 *
 * @since 2.0.0
 */
@Getter
@Setter
@ConfigurationProperties("checkin.wechat")
public class WechatProperties {
    /**
     * wechat平台appId
     */
    private String appId;

    /**
     * wechat平台appSecret
     */
    private String appSecret;

    /**
     * wechat平台查询用户信息(需要scope = snsapi_userinfo且同意授权)
     */
    private String queryCurrentUserUrl;

    /**
     * wechat平台获取access_token地址
     */
    private String tokenUrl;
}
